import request from '@/utils/request'

// 查询数量统计列表
export function listBeearea(query) {
  return request({
    url: '/farmer/count/list',
    method: 'get',
    params: query
  })
}

// 查询数量统计详细
export function getBeearea(id) {
  return request({
    url: '/farmer/count' + id,
    method: 'get'
  })
}

// 新增数量统计
export function addBeearea(data) {
  return request({
    url: '/farmer/count',
    method: 'post',
    data: data
  })
}

// 修改数量统计
export function updateBeearea(data) {
  return request({
    url: '/farmer/count',
    method: 'put',
    data: data
  })
}

// 删除数量统计
export function delBeearea(id) {
  return request({
    url: '/farmer/count' + id,
    method: 'delete'
  })
}
